package com.realtyManage.springboot.Service;

import com.realtyManage.springboot.Model.Do.QuestionsAnswers;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface IQuestionsAnswersService {

    QuestionsAnswers save(QuestionsAnswers questionsAnswers);

    List<QuestionsAnswers> findQuestionsAnswers(String center);

    List<QuestionsAnswers> findQuestionsList();

    int setAnswers(QuestionsAnswers questionsAnswers);

    List<QuestionsAnswers> findQuestionsById(Integer id);

    int importQuestionsAnswersList(MultipartFile file, HttpServletRequest request);

    int deleteQuestions(Integer id);

}
